//
//  BYJCarousModel.m
//  BLDMusics
//
//  Created by 白云杰 on 16/3/17.
//  Copyright © 2016年 李晓丹. All rights reserved.
//

#import "BYJCarousModel.h"
#import "BYJsongListModel.h"


@implementation BYJCarousModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"image"]) {
        self.pic = value[@"pic"];
    }
    
    if ([key isEqualToString:@"songs"]) {
        self.songsArr = [BYJsongListModel modelHandleWithArray:value];
    }
}

@end
